package com.eastfair.config.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @ClassName QuestionConfig
 * @Description TODO
 * @Author yuwx
 * @Date 2021/11/15 11:17
 * @Version 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class DisplayLocationQuestionConfig {

    @ApiModelProperty(value = "标识id")
    private Long flagId;

    @ApiModelProperty(value = "展示问卷位置ID")
    private Long displayLocationQuestionnaireId;
    @ApiModelProperty(value = "展示问题ID")
    private Long questionId;
    @ApiModelProperty(value = "排序")
    private Integer sequence;

    @ApiModelProperty(value = "选择答案数量下限")
    private Integer selectLower;

    @ApiModelProperty(value = "选择答案数量上限")
    private Integer selectUpper;

    @ApiModelProperty(value = "是否生效(默认1：可用 0:不可用)")
    private Integer isEnabled;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "创建人")
    private Long createdBy;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "修改人")
    private Long updateBy;

}
